package cn.jinjimi.domain.store;

import cn.jinjimi.domain.data.dto.HolidayCardsDto;
import cn.jinjimi.app.entity.CardListBean;
import cn.jinjimi.app.entity.RecordCardBean;
import cn.jinjimi.app.entity.SceneCardRespData;
import cn.jinjimi.app.entity.SceneRespData;

import java.io.IOException;

/**
 * Created by zhenhua on 16/7/22.
 */
public interface CardStore {

    CardListBean.CardBean fetchCardWithId(String cardId) throws IOException;

    CardListBean fetchCardsWithType(int type, int page, int limit) throws IOException;

    HolidayCardsDto fetchHolidayCards(int page, int limit) throws IOException;

    RecordCardBean makeCard(String blessing, String customerId, String customerName, int cardId, int holidayId, int voiceDuration) throws IOException;

    SceneRespData fetchScenes() throws IOException;

    SceneCardRespData fetchSceneCards(int sceneId, int page, int limit) throws IOException;
}
